package view.shop
{
import framework.view.components.container.RepeaterRenderProxy;

import values.shop.ShopGroupValue;

import view.component.render.NavItemRenderProxy;

/**
 * ShopNavRenderProxy
 * @author jliang
 * 
 */
public class ShopNavRenderProxy extends NavItemRenderProxy
{
	//==========================================================================
	//  Constructor
	//==========================================================================
	public function ShopNavRenderProxy()
	{
		super();
	}
    //==========================================================================
    //  Overridden methods: RepeaterRenderProxy
    //==========================================================================
    protected var vo:ShopGroupValue;
    
    override public function set data(value:*):void
    {
        vo = value;
        
        skin.label.text = vo.name;
        
        selected = false;
    }
    
    override public function get data():*
    {
        return vo;
    }
}
}


